package com.mallify.admin.service;

import com.mallify.admin.entity.vo.ValidateCode;

/**
 *  ValidateCodeService 接口
 *  +----------------------------------------------------------------------
 *  | HANSON [ HANSON赋能开发者，助力企业发展 ]
 *  +----------------------------------------------------------------------
 *  | Licensed HANSON并不是自由软件，未经许可不能去掉HANSON相关版权
 *  +----------------------------------------------------------------------
 *  | Author: HANSON Team <hanson0622@126.com>
 *  +----------------------------------------------------------------------
 */
public interface ValidateCodeService {

    /**
     * 获取图片验证码
     * @return Result
     */
    ValidateCode get();

    /**
     * 验证验证码
     */
    Boolean check(String key, String code);
}
